package com.kingzoon.seckill.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UpgChannelExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public UpgChannelExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andChannelnoIsNull() {
            addCriterion("CHANNELNO is null");
            return (Criteria) this;
        }

        public Criteria andChannelnoIsNotNull() {
            addCriterion("CHANNELNO is not null");
            return (Criteria) this;
        }

        public Criteria andChannelnoEqualTo(String value) {
            addCriterion("CHANNELNO =", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoNotEqualTo(String value) {
            addCriterion("CHANNELNO <>", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoGreaterThan(String value) {
            addCriterion("CHANNELNO >", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNELNO >=", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoLessThan(String value) {
            addCriterion("CHANNELNO <", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoLessThanOrEqualTo(String value) {
            addCriterion("CHANNELNO <=", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoLike(String value) {
            addCriterion("CHANNELNO like", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoNotLike(String value) {
            addCriterion("CHANNELNO not like", value, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoIn(List<String> values) {
            addCriterion("CHANNELNO in", values, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoNotIn(List<String> values) {
            addCriterion("CHANNELNO not in", values, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoBetween(String value1, String value2) {
            addCriterion("CHANNELNO between", value1, value2, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnoNotBetween(String value1, String value2) {
            addCriterion("CHANNELNO not between", value1, value2, "channelno");
            return (Criteria) this;
        }

        public Criteria andChannelnameIsNull() {
            addCriterion("CHANNELNAME is null");
            return (Criteria) this;
        }

        public Criteria andChannelnameIsNotNull() {
            addCriterion("CHANNELNAME is not null");
            return (Criteria) this;
        }

        public Criteria andChannelnameEqualTo(String value) {
            addCriterion("CHANNELNAME =", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameNotEqualTo(String value) {
            addCriterion("CHANNELNAME <>", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameGreaterThan(String value) {
            addCriterion("CHANNELNAME >", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNELNAME >=", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameLessThan(String value) {
            addCriterion("CHANNELNAME <", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameLessThanOrEqualTo(String value) {
            addCriterion("CHANNELNAME <=", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameLike(String value) {
            addCriterion("CHANNELNAME like", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameNotLike(String value) {
            addCriterion("CHANNELNAME not like", value, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameIn(List<String> values) {
            addCriterion("CHANNELNAME in", values, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameNotIn(List<String> values) {
            addCriterion("CHANNELNAME not in", values, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameBetween(String value1, String value2) {
            addCriterion("CHANNELNAME between", value1, value2, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelnameNotBetween(String value1, String value2) {
            addCriterion("CHANNELNAME not between", value1, value2, "channelname");
            return (Criteria) this;
        }

        public Criteria andChannelcodeIsNull() {
            addCriterion("CHANNELCODE is null");
            return (Criteria) this;
        }

        public Criteria andChannelcodeIsNotNull() {
            addCriterion("CHANNELCODE is not null");
            return (Criteria) this;
        }

        public Criteria andChannelcodeEqualTo(String value) {
            addCriterion("CHANNELCODE =", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeNotEqualTo(String value) {
            addCriterion("CHANNELCODE <>", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeGreaterThan(String value) {
            addCriterion("CHANNELCODE >", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNELCODE >=", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeLessThan(String value) {
            addCriterion("CHANNELCODE <", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeLessThanOrEqualTo(String value) {
            addCriterion("CHANNELCODE <=", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeLike(String value) {
            addCriterion("CHANNELCODE like", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeNotLike(String value) {
            addCriterion("CHANNELCODE not like", value, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeIn(List<String> values) {
            addCriterion("CHANNELCODE in", values, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeNotIn(List<String> values) {
            addCriterion("CHANNELCODE not in", values, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeBetween(String value1, String value2) {
            addCriterion("CHANNELCODE between", value1, value2, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChannelcodeNotBetween(String value1, String value2) {
            addCriterion("CHANNELCODE not between", value1, value2, "channelcode");
            return (Criteria) this;
        }

        public Criteria andChanneltypeIsNull() {
            addCriterion("CHANNELTYPE is null");
            return (Criteria) this;
        }

        public Criteria andChanneltypeIsNotNull() {
            addCriterion("CHANNELTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andChanneltypeEqualTo(String value) {
            addCriterion("CHANNELTYPE =", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeNotEqualTo(String value) {
            addCriterion("CHANNELTYPE <>", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeGreaterThan(String value) {
            addCriterion("CHANNELTYPE >", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNELTYPE >=", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeLessThan(String value) {
            addCriterion("CHANNELTYPE <", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeLessThanOrEqualTo(String value) {
            addCriterion("CHANNELTYPE <=", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeLike(String value) {
            addCriterion("CHANNELTYPE like", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeNotLike(String value) {
            addCriterion("CHANNELTYPE not like", value, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeIn(List<String> values) {
            addCriterion("CHANNELTYPE in", values, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeNotIn(List<String> values) {
            addCriterion("CHANNELTYPE not in", values, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeBetween(String value1, String value2) {
            addCriterion("CHANNELTYPE between", value1, value2, "channeltype");
            return (Criteria) this;
        }

        public Criteria andChanneltypeNotBetween(String value1, String value2) {
            addCriterion("CHANNELTYPE not between", value1, value2, "channeltype");
            return (Criteria) this;
        }

        public Criteria andFlowflagIsNull() {
            addCriterion("FLOWFLAG is null");
            return (Criteria) this;
        }

        public Criteria andFlowflagIsNotNull() {
            addCriterion("FLOWFLAG is not null");
            return (Criteria) this;
        }

        public Criteria andFlowflagEqualTo(Integer value) {
            addCriterion("FLOWFLAG =", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagNotEqualTo(Integer value) {
            addCriterion("FLOWFLAG <>", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagGreaterThan(Integer value) {
            addCriterion("FLOWFLAG >", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagGreaterThanOrEqualTo(Integer value) {
            addCriterion("FLOWFLAG >=", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagLessThan(Integer value) {
            addCriterion("FLOWFLAG <", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagLessThanOrEqualTo(Integer value) {
            addCriterion("FLOWFLAG <=", value, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagIn(List<Integer> values) {
            addCriterion("FLOWFLAG in", values, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagNotIn(List<Integer> values) {
            addCriterion("FLOWFLAG not in", values, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagBetween(Integer value1, Integer value2) {
            addCriterion("FLOWFLAG between", value1, value2, "flowflag");
            return (Criteria) this;
        }

        public Criteria andFlowflagNotBetween(Integer value1, Integer value2) {
            addCriterion("FLOWFLAG not between", value1, value2, "flowflag");
            return (Criteria) this;
        }

        public Criteria andReqqueueIsNull() {
            addCriterion("REQQUEUE is null");
            return (Criteria) this;
        }

        public Criteria andReqqueueIsNotNull() {
            addCriterion("REQQUEUE is not null");
            return (Criteria) this;
        }

        public Criteria andReqqueueEqualTo(String value) {
            addCriterion("REQQUEUE =", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueNotEqualTo(String value) {
            addCriterion("REQQUEUE <>", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueGreaterThan(String value) {
            addCriterion("REQQUEUE >", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueGreaterThanOrEqualTo(String value) {
            addCriterion("REQQUEUE >=", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueLessThan(String value) {
            addCriterion("REQQUEUE <", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueLessThanOrEqualTo(String value) {
            addCriterion("REQQUEUE <=", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueLike(String value) {
            addCriterion("REQQUEUE like", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueNotLike(String value) {
            addCriterion("REQQUEUE not like", value, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueIn(List<String> values) {
            addCriterion("REQQUEUE in", values, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueNotIn(List<String> values) {
            addCriterion("REQQUEUE not in", values, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueBetween(String value1, String value2) {
            addCriterion("REQQUEUE between", value1, value2, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andReqqueueNotBetween(String value1, String value2) {
            addCriterion("REQQUEUE not between", value1, value2, "reqqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueIsNull() {
            addCriterion("ANSQUEUE is null");
            return (Criteria) this;
        }

        public Criteria andAnsqueueIsNotNull() {
            addCriterion("ANSQUEUE is not null");
            return (Criteria) this;
        }

        public Criteria andAnsqueueEqualTo(String value) {
            addCriterion("ANSQUEUE =", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueNotEqualTo(String value) {
            addCriterion("ANSQUEUE <>", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueGreaterThan(String value) {
            addCriterion("ANSQUEUE >", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueGreaterThanOrEqualTo(String value) {
            addCriterion("ANSQUEUE >=", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueLessThan(String value) {
            addCriterion("ANSQUEUE <", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueLessThanOrEqualTo(String value) {
            addCriterion("ANSQUEUE <=", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueLike(String value) {
            addCriterion("ANSQUEUE like", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueNotLike(String value) {
            addCriterion("ANSQUEUE not like", value, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueIn(List<String> values) {
            addCriterion("ANSQUEUE in", values, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueNotIn(List<String> values) {
            addCriterion("ANSQUEUE not in", values, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueBetween(String value1, String value2) {
            addCriterion("ANSQUEUE between", value1, value2, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAnsqueueNotBetween(String value1, String value2) {
            addCriterion("ANSQUEUE not between", value1, value2, "ansqueue");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexIsNull() {
            addCriterion("AGENTSERVICEBEX is null");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexIsNotNull() {
            addCriterion("AGENTSERVICEBEX is not null");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexEqualTo(String value) {
            addCriterion("AGENTSERVICEBEX =", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexNotEqualTo(String value) {
            addCriterion("AGENTSERVICEBEX <>", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexGreaterThan(String value) {
            addCriterion("AGENTSERVICEBEX >", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexGreaterThanOrEqualTo(String value) {
            addCriterion("AGENTSERVICEBEX >=", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexLessThan(String value) {
            addCriterion("AGENTSERVICEBEX <", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexLessThanOrEqualTo(String value) {
            addCriterion("AGENTSERVICEBEX <=", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexLike(String value) {
            addCriterion("AGENTSERVICEBEX like", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexNotLike(String value) {
            addCriterion("AGENTSERVICEBEX not like", value, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexIn(List<String> values) {
            addCriterion("AGENTSERVICEBEX in", values, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexNotIn(List<String> values) {
            addCriterion("AGENTSERVICEBEX not in", values, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexBetween(String value1, String value2) {
            addCriterion("AGENTSERVICEBEX between", value1, value2, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andAgentservicebexNotBetween(String value1, String value2) {
            addCriterion("AGENTSERVICEBEX not between", value1, value2, "agentservicebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexIsNull() {
            addCriterion("REFRESTABLEBEX is null");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexIsNotNull() {
            addCriterion("REFRESTABLEBEX is not null");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexEqualTo(String value) {
            addCriterion("REFRESTABLEBEX =", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexNotEqualTo(String value) {
            addCriterion("REFRESTABLEBEX <>", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexGreaterThan(String value) {
            addCriterion("REFRESTABLEBEX >", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexGreaterThanOrEqualTo(String value) {
            addCriterion("REFRESTABLEBEX >=", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexLessThan(String value) {
            addCriterion("REFRESTABLEBEX <", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexLessThanOrEqualTo(String value) {
            addCriterion("REFRESTABLEBEX <=", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexLike(String value) {
            addCriterion("REFRESTABLEBEX like", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexNotLike(String value) {
            addCriterion("REFRESTABLEBEX not like", value, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexIn(List<String> values) {
            addCriterion("REFRESTABLEBEX in", values, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexNotIn(List<String> values) {
            addCriterion("REFRESTABLEBEX not in", values, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexBetween(String value1, String value2) {
            addCriterion("REFRESTABLEBEX between", value1, value2, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andRefrestablebexNotBetween(String value1, String value2) {
            addCriterion("REFRESTABLEBEX not between", value1, value2, "refrestablebex");
            return (Criteria) this;
        }

        public Criteria andIsneedsignIsNull() {
            addCriterion("ISNEEDSIGN is null");
            return (Criteria) this;
        }

        public Criteria andIsneedsignIsNotNull() {
            addCriterion("ISNEEDSIGN is not null");
            return (Criteria) this;
        }

        public Criteria andIsneedsignEqualTo(String value) {
            addCriterion("ISNEEDSIGN =", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignNotEqualTo(String value) {
            addCriterion("ISNEEDSIGN <>", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignGreaterThan(String value) {
            addCriterion("ISNEEDSIGN >", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignGreaterThanOrEqualTo(String value) {
            addCriterion("ISNEEDSIGN >=", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignLessThan(String value) {
            addCriterion("ISNEEDSIGN <", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignLessThanOrEqualTo(String value) {
            addCriterion("ISNEEDSIGN <=", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignLike(String value) {
            addCriterion("ISNEEDSIGN like", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignNotLike(String value) {
            addCriterion("ISNEEDSIGN not like", value, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignIn(List<String> values) {
            addCriterion("ISNEEDSIGN in", values, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignNotIn(List<String> values) {
            addCriterion("ISNEEDSIGN not in", values, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignBetween(String value1, String value2) {
            addCriterion("ISNEEDSIGN between", value1, value2, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andIsneedsignNotBetween(String value1, String value2) {
            addCriterion("ISNEEDSIGN not between", value1, value2, "isneedsign");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNull() {
            addCriterion("LASTUPDATETIME is null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIsNotNull() {
            addCriterion("LASTUPDATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeEqualTo(Date value) {
            addCriterion("LASTUPDATETIME =", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotEqualTo(Date value) {
            addCriterion("LASTUPDATETIME <>", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThan(Date value) {
            addCriterion("LASTUPDATETIME >", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LASTUPDATETIME >=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThan(Date value) {
            addCriterion("LASTUPDATETIME <", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("LASTUPDATETIME <=", value, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeIn(List<Date> values) {
            addCriterion("LASTUPDATETIME in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotIn(List<Date> values) {
            addCriterion("LASTUPDATETIME not in", values, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeBetween(Date value1, Date value2) {
            addCriterion("LASTUPDATETIME between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }

        public Criteria andLastupdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("LASTUPDATETIME not between", value1, value2, "lastupdatetime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}